package com.dzt.androidnewui.fragment;

import android.net.TrafficStats;
import android.os.Bundle;

import com.dzt.androidnewui.R;
import com.dzt.androidnewui.databinding.Fragment1Binding;
import com.dzt.androidnewui.utils.JLogKit;

/**
 * Created by M02323 on 2017/9/11.
 */

public class Fragment1 extends BaseFragment<Fragment1Binding> {

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		showContentView();
		long sum = TrafficStats.getTotalRxBytes() + TrafficStats.getTotalTxBytes();
		JLogKit.getInstance().e("sum = " + sum);
	}

	@Override
	public int setContent() {
		return R.layout.fragment1;
	}
}
